package com.hgw.Demo08_StatePattern.Exercises23_8_4;

/**
 * Data time:2021/12/20 17:22
 * StudentID:2019112118
 * Author:hgw
 * Description: 门的状态类，充当抽象状态
 */
public abstract class DoorState {
    protected Door door;

    public DoorState(Door door) {
        this.door = door;
    }

    public abstract void click();
    public abstract void timeout();
    public abstract void complete();
}
